<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:icecore="http://www.icefaces.org/icefaces/core"
      xmlns:ace="http://www.icefaces.org/icefaces/components">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
      
      <ace:panel header="photo"> 
            <h:messages/>
             </ace:panel>
        <h:form> 
          
            <ace:textEntry value="#{affichePhotoProfil.maPhoto.membreId}"  label="#{leLogin.membreLoger.nom}" labelPosition="left" >                
             </ace:textEntry><br/>           
            <ace:textEntry value="#{affichePhotoProfil.maPhoto.isprofil}" label="voulez vous la definir comme photo de profil?"  labelPosition="left">
            </ace:textEntry><br/>
            <ace:panel>
                <ace:buttonGroup header="ace:radioButton Overview" mutuallyExclusive="true">
<!--                    <h:panelGrid columns="2" width="100%" columnClasses="col50,col50">
                        <ace:radioButton value="#{radioButton.selected1}" label="#{radioButton.boxValueDescription1}" labelPosition="top">
                            <ace:ajax execute="@form" event="activate" render="@all"/>
                        </ace:radioButton>
                        <ace:radioButton value="#{radioButton.selected2}" label="#{radioButton.boxValueDescription2}" labelPosition="top">
                            <ace:ajax execute="@form" event="activate" render="@all"/>
                        </ace:radioButton>
                    </h:panelGrid>-->
                </ace:buttonGroup>
            </ace:panel>
            <ace:textEntry value="#{affichePhotoProfil.maPhoto.chemin}" label="chemin"  labelPosition="left">
            </ace:textEntry><br/>
            <h:commandButton value="terminer" action="#{affichePhotoProfil.inserPhoto()}"/>               
        </h:form>        
        <br />
        <h:link outcome="welcomeIcefaces" value="ICEfaces welcome page" />
 
    </h:body>
</html>

